/**
 *
 */
package com.angel.resourceBundle.daos.propertyValue.impl;

import java.io.Serializable;
import java.util.Collection;

import com.angel.resourceBundle.daos.propertyValue.ComplexPropertyValueDAO;
import com.angel.resourceBundle.internationalizable.Internationalizable;
import com.angel.resourceBundle.internationalizer.Internationalizer;
import com.angel.resourceBundle.propertyValue.impl.ComplexPropertyValue;

/**
 * @author William
 *
 */
public class ComplexPropertyValueHibernateDAO extends PropertyValueHibernateDAO<ComplexPropertyValue, Serializable> implements ComplexPropertyValueDAO{

	public ComplexPropertyValue findAllByInternationalizable(Internationalizable internationalizable) {
		return (ComplexPropertyValue) super.findUnique("internationalizable", internationalizable);
	}

	public Collection<ComplexPropertyValue> findAllByInternationalizer(Internationalizer internationalizer) {
		return (Collection<ComplexPropertyValue>) super.findAll("internationalizer", internationalizer);
	}
}
